import 'package:flutter_taotaoshipin/pages/me/about_me/about_me.dart';
import 'package:flutter_taotaoshipin/pages/me/feedback/feedback_binding.dart';
import 'package:flutter_taotaoshipin/pages/me/feedback/feedback_page.dart';
import 'package:flutter_taotaoshipin/pages/me/logout_account/logout_account_page.dart';
import 'package:flutter_taotaoshipin/pages/me/other/debug_page.dart';
import 'package:flutter_taotaoshipin/pages/me/purchase_record/purchase_record_binding.dart';
import 'package:flutter_taotaoshipin/pages/me/purchase_record/purchase_record_page.dart';
import 'package:get/get.dart';

class MeRoutes {
  static const String pruchaseRecord = '/me/pruchaseRecord';
  static const String feedback = '/me/feedback';
  static const String aboutMe = '/me/aboutMe';
  static const String logoutAccount = '/me/logoutAccount';

  static const String debug = '/me/debug';

  static List<GetPage> routes = [
    GetPage(
      name: pruchaseRecord,
      page: () => const PurchaseRecordPage(),
      binding: PurchaseRecordBinding(),
    ),
    GetPage(
      name: feedback,
      page: () => const FeedbackPage(),
      binding: FeedbackBinding(),
    ),
    GetPage(
      name: aboutMe,
      page: () => const AboutMePage(),
    ),
    GetPage(
      name: logoutAccount,
      page: () => const LogoutAccountPage(),
    ),
    GetPage(
      name: debug,
      page: () => const DebugPage(),
    ),
  ];
}
